package cn.john.hrm.feign;

import cn.john.hrm.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "SEARCH-SERVER",fallbackFactory = DeleteCourseDocFallBackFactory.class)
public interface DeleteCourseDocClient {
    @PostMapping("/search/deleteCourseDoc")
    AjaxResult delete(@RequestBody Long id);
}
